package com.reflect.test;

public class Singleton {
	private static Singleton instance = null;
	private static synchronized Singleton getInstance() {
		System.out.println("调用 私有的单例!");
		if (instance == null)
			instance = new Singleton();

		return instance;
	}
}
